package com.yc.homepage.service;

import com.yc.homepage.CourseInfo;
import com.yc.homepage.CourseInfosRequest;

import java.util.List;

/**
 * <h1>课程相关服务接口定义</h1>
 * @author yc112
 *
 */
public interface ICourseService {

    /**
     * <h2>通过id 获取课程信息</h2>
     * @param courseId 课程id
     * @return
     */
    CourseInfo getCourseInfo(Long courseId);


    /**
     * <h2>通过ids获取课程列表信息</h2>
     * @param courseRequest
     * @return
     */
    List<CourseInfo> getCourseInfos(CourseInfosRequest courseRequest);
}
